﻿using DataAccess.AccountManage;
using DataAccess.BikeManage;
using DataAccess.Common;
using DataAccess.SystemManage;
using Ninject.Modules;

namespace WinForm.Helper
{
    public class DbModule : NinjectModule
    {
        public override void Load()
        {
            Bind<ISysUser>().To<SysUser>();
            Bind<ISysRole>().To<SysRole>();
            Bind<ISysPrivilege>().To<SysPrivilege>();
            Bind<ILockArea>().To<LockArea>();
            Bind<IControlBox>().To<ControlBox>();
            Bind<ILockAddress>().To<LockAddress>();
            Bind<ILockPile>().To<LockPile>();
            Bind<IDispatch>().To<Dispatch>();
            Bind<IBike>().To<Bike>();
            Bind<IAccount>().To<Account>();
            Bind<IBusinesses>().To<Businesses>();
            Bind<IOperate>().To<Operate>();
            Bind<ILookUpDataService>().To<LookUpDataService>();
        }
    }
}
